// Mesh Tools
// (c) jimon game studio

#ifndef JEH_JEMESHTOOLS
#define JEH_JEMESHTOOLS

#include "Config_Engine.h"
#include "jeMesh.h"
#include "IRender.h"
#include "IHardwareBufferArray.h"

namespace je
{
	namespace scene
	{
		//! Create Tangent Space
		JE_ENGINE_FUNCTION_API void JE_ENGINE_FUNCTION_CALL CreateTangentSpaceSurface(ISurface * Surface);

		//! Create Tangent Space
		JE_ENGINE_FUNCTION_API void JE_ENGINE_FUNCTION_CALL CreateTangentSpaceMesh(jeMesh * Mesh);

		//! Calculate insphere radius of surface
		JE_ENGINE_FUNCTION_API f32 JE_ENGINE_FUNCTION_CALL CalculateInsphereRadiusSurface(ISurface * Surface);

		//! Calculate insphere radius of mesh
		JE_ENGINE_FUNCTION_API f32 JE_ENGINE_FUNCTION_CALL CalculateInsphereRadiusMesh(jeMesh * Mesh);
	}
}

#endif